package BSQX_Bit;

import java.util.HashSet;
import java.util.Scanner;

public class BSQX_4_23 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNextInt()){
            int ret = in.nextInt();
            int count =0;
            int i = 2;
            while (i <= (int)Math.sqrt(ret)) {
                if (ret % i ==0){
                    while (ret%i ==0){
                        ret = ret/i;
                    }
                    count++;
                }
                i++;
            }
            if (count != 1)count++;
            System.out.println(count);
        }
    }
    public static void main2(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNextInt()){
//            String str = in.nextLine();
//            String[] strings =str.split("<br/>");
            int ret = in.nextInt();
            int count =0;
            int i = 2;
            while (i <= (int)Math.sqrt(ret)) {
                if (ret % i ==0){
                    while (ret%i ==0){
                        ret = ret/i;
                    }
                    count++;
                }
                i++;
            }
            if (count != 1)count++;
            System.out.print(count+"");

//            if (k + 1 == strings.length){
//                System.out.print(count);
//            }else {
//                System.out.print(count+"<br/>");
//            }

//            for (int k = 0; k < strings.length; k++) {
//            }
        }
    }
    public static boolean prime(int n){
        if (n % 2 == 0 && n != 2)return false;

        for (int i = 2; i <= (int)Math.sqrt(n); i++) {
            if (n % i == 0)return false;
        }
        return true;
    }
    public static void main1(String[] args) {
        Scanner in = new Scanner(System.in);
        char[] DZ = new char[26];
        for (int i = 0; i < 26; i++) {
            DZ[i] =(char) ('A'+i);
        }
        while (in.hasNext()){
            String str = in.nextLine();
            char[] chars = str.toCharArray();
            for (int i = 0; i < chars.length; i++) {
                char cur = chars[i];
                if (cur >= 'A' && cur <= 'Z'){
                    char ch = DZ[(cur-5 + 'A')%26];
                    System.out.print(ch);
                }else {
                    System.out.print(cur);
                }
            }
            System.out.println();
        }

    }
}
